<?php
/* Smarty version 3.1.38, created on 2021-01-15 14:38:47
  from 'C:\phpstudy\phpstudy_pro\WWW\WWW\ggw\extend\smartybuilder\libs\Templates\form\select.html' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.38',
  'unifunc' => 'content_60013877594698_32606361',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'eb598e3364abe5003449ea952229db9423140400' => 
    array (
      0 => 'C:\\phpstudy\\phpstudy_pro\\WWW\\WWW\\ggw\\extend\\smartybuilder\\libs\\Templates\\form\\select.html',
      1 => 1610692726,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_60013877594698_32606361 (Smarty_Internal_Template $_smarty_tpl) {
?><div class="layui-form-item">
    <label class="layui-form-label"><?php echo $_smarty_tpl->tpl_vars['value']->value['desc'];?>
</label>
    <div class="layui-input-inline">
        <select name="<?php echo $_smarty_tpl->tpl_vars['value']->value['name'];?>
" style="<?php echo $_smarty_tpl->tpl_vars['value']->value['style'];?>
" lay-search>
            <option value="">请选择</option>
            <?php if ($_smarty_tpl->tpl_vars['value']->value['radio_value'] == 1) {?>
            <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['value']->value['option'], 'v');
$_smarty_tpl->tpl_vars['v']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['v']->value) {
$_smarty_tpl->tpl_vars['v']->do_else = false;
?>
                <?php if ((isset($_smarty_tpl->tpl_vars['value']->value['value'])) && $_smarty_tpl->tpl_vars['value']->value['value'] == $_smarty_tpl->tpl_vars['v']->value) {?>
            <option value="<?php echo $_smarty_tpl->tpl_vars['v']->value;?>
" selected=""><?php echo $_smarty_tpl->tpl_vars['v']->value;?>
</option>
                <?php } else { ?>
            <option value="<?php echo $_smarty_tpl->tpl_vars['v']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['v']->value;?>
</option>
                <?php }?>
            <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
            <?php } else { ?>
                <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['value']->value['option'], 'v');
$_smarty_tpl->tpl_vars['v']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['v']->value) {
$_smarty_tpl->tpl_vars['v']->do_else = false;
?>
                <?php if ((isset($_smarty_tpl->tpl_vars['value']->value['value'])) && $_smarty_tpl->tpl_vars['value']->value['value'] == $_smarty_tpl->tpl_vars['v']->value[$_smarty_tpl->tpl_vars['value']->value['key_value']['value']]) {?>
            <option value="<?php echo $_smarty_tpl->tpl_vars['v']->value[$_smarty_tpl->tpl_vars['value']->value['key_value']['value']];?>
" selected=""><?php echo $_smarty_tpl->tpl_vars['v']->value[$_smarty_tpl->tpl_vars['value']->value['key_value']['show']];?>
</option>
                <?php } else { ?>
            <option value="<?php echo $_smarty_tpl->tpl_vars['v']->value[$_smarty_tpl->tpl_vars['value']->value['key_value']['value']];?>
"><?php echo $_smarty_tpl->tpl_vars['v']->value[$_smarty_tpl->tpl_vars['value']->value['key_value']['show']];?>
</option>
                <?php }?>
                <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
            <?php }?>
        </select>
        <br><span style="color: red"><?php echo $_smarty_tpl->tpl_vars['value']->value['tagging'];?>
</span>
    </div>
</div><?php }
}
